package com.app.ryjy.model;

import java.util.List;

public class ResponseEntity {
    private int code;
    private String requestId;
    private DataEntity data;
    private List<String> errors;
    private boolean serviceSuccess;

    // Getters and Setters

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public List<String> getErrors() {
        return errors;
    }

    public void setErrors(List<String> errors) {
        this.errors = errors;
    }

    public boolean isServiceSuccess() {
        return serviceSuccess;
    }

    public void setServiceSuccess(boolean serviceSuccess) {
        this.serviceSuccess = serviceSuccess;
    }
}
